package com.filepublic.demo.server.service;

import com.filepublic.demo.pojo.dto.EmailDto;
import com.filepublic.demo.pojo.entity.FileEntity;
import com.filepublic.demo.pojo.vo.EmailVo;

import java.io.IOException;
import java.util.List;

public interface EmailService {
    void sendEmail(EmailDto emailDto) throws IOException;

    List<EmailVo> listEmail();

    FileEntity getFileInfo(String fileId);

    void readEmail(Integer emailId);

    void starEmail(Integer emailId, Integer state);
}
